home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 8611 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.1 KB  |  23 lines

  1. Newsgroups: comp.lang.c
  2. Path: IVORY.trentu.ca!DPIDVERBNY
  3. From: dpidverbny@ivory.trentu.ca
  4. Subject: Help: SLOW DLL
  5. X-Nntp-Posting-Host: trentu.ca
  6. Message-ID: <Dnso1o.M7D@blaze.trentu.ca>
  7. Sender: news@blaze.trentu.ca (USENET News System)
  8. Reply-To: dpidverbny@ivory.trentu.ca
  9. Organization: Trent University, Peterborough
  10. Date: Tue, 5 Mar 1996 12:29:48 GMT
  11.  
  12. I wrote a program for my thesis in C and the world was fine.  Then I wanted
  13. a really cool interface for it, so I converted my efficient code into a DLL.
  14. The DLL is called from my Visual Basic interface.  The results are correct
  15. but it takes twice as long to run the program under Windows than it did under
  16. DOS.  
  17. Has anyone run into this before.  Can I made my DLL run as fast as my C code
  18. or is just another Windows problem that I have to put up with.  I am using
  19. Borland C 3.1, Visual Basic 4.0 and WIndows 3.1.  I have optimized my DLL
  20. for speed in the compiler options.  Is they any more optimizing methods?
  21. I don't have enough time to check this group regularily so could you e-mail
  22. any responses.  Thanks in advance, Dan.
  23.